<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Update Order</title>
    <link rel="stylesheet" type="text/css" href="<s:url value='/CSS/back/order/order_update.css'/>"/>
  </head>
  <body>
	<div class="container">
	  <div class="title">Order State is being updated.</div>
	  <div class="tips">This form will be closed automatically after <b>3</b> seconds.</div>
	  <hr/>
	  <input type="button" value="Close" onclick="javascript:closeWindow();">
	</div>
	<script type="text/javascript" src="<s:url value='/JS/jquery-1.7.2.min.js'/>"></script>
	<script type="text/javascript" src="<s:url value='/JS/common.js'/>"></script>
	<script type="text/javascript">
      var i = 3;
      $(document).ready(function() {
    	 clock(); 
      });
	  function clock() {
        i = i - 1;
        if (i > 0) {
          setTimeout('clock();', 1000);	
        } else {
          closeWindow();	
        } 
      }
    </script>
  </body>
</html>